package com.tianruan.dc.modules.sys.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tianruan.dc.modules.sys.user.entity.Work;
import com.tianruan.dc.modules.sys.user.entity.WorkInfo;
import com.tianruan.dc.modules.sys.user.utils.PageBean;

/**
 * Author: Vivienne
 */

public interface WorkService extends IService<Work> {

    Work insert(String username, String tile);

    Work getByWorkId(String workId);


    PageBean<Work> PageWork(Integer page, Integer pageSize, String workId);

    PageBean<WorkInfo> PageWorkInfo(Integer page, Integer pageSize, String workId);
}
